Skip to content

Fix LT-20337: Crash Navigating From Bulk Edit Phoneme Features#426

Merged
jtmaxwell3 merged 2 commits into
release/9.3from
LT-20337
Aug 5, 2025
Merged

Fix LT-20337: Crash Navigating From Bulk Edit Phoneme Features#426
jtmaxwell3 merged 2 commits into
release/9.3from
LT-20337

Conversation

@jtmaxwell3

@jtmaxwell3 jtmaxwell3 commented Aug 4, 2025

Copy link
Copy Markdown
Collaborator

This fixes https://jira.sil.org/browse/LT-20337. However, I'm worried that it is only a band-aid fix, and the problem will also show up elsewhere.


This change is Reviewable

@jasonleenaylor jasonleenaylor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jtmaxwell3)


Src/LexText/LexTextControls/PhonologicalFeaturePopupTreeManager.cs line 229 at r1 (raw file):

							cmBaseAnnotation.Delete();
						else
							m_annotations.Remove(cmBaseAnnotation);

I was about to say this would invalidate the iterator, but then I noticed your 'ToList()' addition. 👍

@jtmaxwell3 jtmaxwell3 enabled auto-merge (squash) August 5, 2025 20:56
@jtmaxwell3 jtmaxwell3 merged commit ed3221c into release/9.3 Aug 5, 2025
5 checks passed
@jtmaxwell3 jtmaxwell3 deleted the LT-20337 branch August 5, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants